package dba

import (
	"MBTIx/models"

	"github.com/jmoiron/sqlx"
)

func GetDepByColId(db *sqlx.DB, col_id int, deps *[]models.Department) {
	db.Select(deps,
		`select dep_id, dep_name from department where col_id = $1`, col_id)
}
